<?
	require_once "../../_func/__Global.php";
	require_once "../../_func/__Local.php";

	RequireMemberAuth();

	$return_url = $param->getString('return_url');

	$options = array(
		'domain'	=> $DEFAULT_HOST,
		'path'		=> '/',
	);

	$session->remove("userno",  	SESS_SAVE_COOKIE, 	$options);
	$session->remove("userid",  	SESS_SAVE_COOKIE, 	$options);
	$session->remove("userlvl", 	SESS_SAVE_COOKIE, 	$options);

	if ($return_url == '')
		$return_url = "/";

	httpRedirect($return_url);
?>